package com.ruoyan.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Package: com.ruoyan.pojo
 * @ClassName: Employee
 * @Author: ruoyan1998
 * @CreateTime: 2021/5/16 9:38
 * @Description: 员工表实体类
 */
@Data
@NoArgsConstructor
public class Employee
{
    /**
     * 员工ID*/
    private Integer id;

    /**
     * 员工姓名*/
    private String lastName;

    /**
     * 员工职位*/
    private String post;

    /**
     * 员工邮箱*/
    private String email;

    /**
     * 员工性别*/
    private Integer gender;

    /**
     * 员工所关联的部门*/
    private Department department;

    /**
     * 员工表did属性，关联部门表主键*/
    private int did;

    /**
     * 员工生日*/
    private Date birth;

    /**
     * 员工每月工资*/
    private Double salary;

    /**
     * 员工每月奖金*/
    private Double bonus;

    /**
     * 备注*/
    private String remark;


}
